package com.lhm.service;


import com.lhm.entity.BookType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookTypeService {
    //全查询
    public List<BookType> findAll();
    //添加
    public void add(@Param("type")String type);
    // 修改
    public void update(int id, String type);
    //  根据id查询
    public BookType findById(Integer id);
}
